package com.project.bean;


import java.time.LocalDate;
import java.util.List;

/**
 * 员工实体
 */
public class EmployeeBean {
    /**
     * 员工id
     */
    private int employeeId;
    /**
     * 员工姓名
     */
    private  String name;
    /**
     * 员工生日
     */
    private LocalDate birthday;
    /**
     * 员工入职时间
     */
    private LocalDate jobStartDay;
    /**
     * 员工特长
     */
    private String job;
    /**
     * 状态
     */
    private String status;
    /**
     * 工资
     */
    private double money;
    /**
     * 电话
     */
    private String phone;

    /**
     * 头像
     */
    private String face;

    /**
     * 项目集合
     */
    private List<ProcessBean> List;

    public EmployeeBean() {
    }

    public EmployeeBean(String name, LocalDate birthday, LocalDate jobStartDay, String job, int money, String phone, String face,List<ProcessBean> list) {
        this.name = name;
        this.birthday = birthday;
        this.jobStartDay = jobStartDay;
        this.job = job;
        this.money = money;
        this.phone = phone;
        this.face = face;
        List = list;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public LocalDate getJobStartDay() {
        return jobStartDay;
    }

    public void setJobStartDay(LocalDate jobStartDay) {
        this.jobStartDay = jobStartDay;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    public java.util.List<ProcessBean> getList() {
        return List;
    }

    public void setList(java.util.List<ProcessBean> list) {
        List = list;
    }

    @Override
    public String toString() {
        return "EmployeeBean{" +
                "employeeId=" + employeeId +
                ", birthday=" + birthday +
                ", jobStartDay=" + jobStartDay +
                ", job='" + job + '\'' +
                ", status='" + status + '\'' +
                ", money=" + money +
                ", phone='" + phone + '\'' +
                ", face='" + face + '\'' +
                '}';
    }
}
